Skip to content

fix(object/uncapitalize-keys): replace String.prototype.toLowerCase with @stdlib/string/base/lowercase - #16770

Closed
wanjinhao1 wants to merge 1 commit into
stdlib-js:developfrom
wanjinhao1:agent/fix-16737-uncapitalize-keys-lowercase
Closed

wanjinhao1 wants to merge 1 commit into
stdlib-js:developfrom
wanjinhao1:agent/fix-16737-uncapitalize-keys-lowercase

Conversation

@wanjinhao1

@wanjinhao1 wanjinhao1 commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

Resolves #16737.

Description

What is the purpose of this pull request?

This pull request:

  • Replaces the String.prototype.toLowerCase call in lib/node_modules/@stdlib/object/uncapitalize-keys/lib/main.js with @stdlib/string/base/lowercase, resolving the no-restricted-syntax ESLint error reported by the JavaScript lint workflow in Fix JavaScript lint errors #16737.

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Reference Packages

Did the content of this pull request follow one or more existing packages? Answering is optional.

This pull request followed these packages:

  • utils/convert-path (existing usage pattern of @stdlib/string/base/lowercase)

What carried over from the reference(s)?

  • The require( '@stdlib/string/base/lowercase' ) import and call style already used elsewhere in the codebase.

Verification: ran the package test suite node lib/node_modules/@stdlib/object/uncapitalize-keys/test/test.js — 18/18 tests pass.

AI assistance disclosure: this change was prepared with the help of an AI coding agent, on behalf of the account owner wanjinhao1.

…lize-keys with @stdlib/string/base/lowercase
@wanjinhao1
wanjinhao1 requested a review from a team November 21, 2026 22:07
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Nov 21, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Hello! Thank you for your contribution to stdlib.

We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:

  1. Please read our contributing guidelines.

  2. Update your pull request description to include this checked box:

    - [x] Read, understood, and followed the [contributing guidelines](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md)

This acknowledgment confirms that you've read the guidelines, which include:

  • The developer's certificate of origin
  • Your agreement to license your contributions under the project's terms

We can't review or accept contributions without this acknowledgment.

Thank you for your understanding and cooperation. We look forward to reviewing your contribution!

@stdlib-bot stdlib-bot added the Good First PR A pull request resolving a Good First Issue. label Nov 21, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Coverage Report

Package Statements Branches Functions Lines
object/uncapitalize-keys $\\color{green}115/115$
$\\color{green}+100.00\\%$
$\\color{green}11/11$
$\\color{green}+100.00\\%$
$\\color{green}1/1$
$\\color{green}+100.00\\%$
$\\color{green}115/115$
$\\color{green}+100.00\\%$

The above coverage report was generated for the changes in this PR.

@kgryte

kgryte commented Nov 22, 2026

Copy link
Copy Markdown
Member

Ref: #16742

@kgryte kgryte added the autoclose: Already Resolved Pull request which should be auto-closed due proposed changes duplicating already included changes. label Nov 22, 2026
@stdlib-bot

Copy link
Copy Markdown
Contributor

Thank you for working on this pull request. However, we cannot accept your contribution as the issue this pull request seeks to resolve has already been addressed in a different pull request or commit.

Thank you again for your interest in stdlib, and we look forward to reviewing your future contributions.

@stdlib-bot stdlib-bot closed this Nov 22, 2026
@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoclose: Already Resolved Pull request which should be auto-closed due proposed changes duplicating already included changes. Good First PR A pull request resolving a Good First Issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants